package com.tj.jinzao.easydl.camera;

import android.view.TextureView;


/**
 * Created by ruanshimin on 2017/3/29.
 */
public interface ICameraProxy extends TextureView.SurfaceTextureListener {
    void openCamera();
    void setDisplayRotation(int degree);
    void startPreview();
    void stopPreview();
    void closeCamera();
    void switchSide();
    int[] getPreviewSize();
    void takePicture(CameraListener.takePictureListener listener);
    void setEventListener(CameraListener.commonListener commonListener);
}
